package com.ruoyi.assemble.fastloader.service;


import com.ruoyi.assemble.fastloader.model.QueryInfo;
import com.ruoyi.assemble.fastloader.model.TFileInfo;

import java.util.List;

/**
 *
 *
 * @author
 * @description
 * @time 2022/8/31 15:57
 * @return
 */
public interface FileInfoService {

    /**
     * addFileInfo
     *
     * @author 
     * @description addFileInfo
     * @time 2022/8/31 15:57
     * @param fileInfo
     * @return java.lang.String
     */
	public String addFileInfo(TFileInfo fileInfo);

    /**
     * selectFileByParams
     *
     * @author 
     * @description selectFileByParams
     * @time 2022/8/31 15:57
     * @param fileInfo
     * @return java.util.List<cn.fastloader.web.model.TFileInfo>
     */
	public List<TFileInfo> selectFileByParams(TFileInfo fileInfo);

    /**
     * selectFileList
     *
     * @author 
     * @description selectFileList
     * @time 2022/8/31 15:57
     * @param query
     * @return java.util.List<cn.fastloader.web.model.TFileInfo>
     */
   List<TFileInfo> selectFileList(QueryInfo query);


   /**
    * deleteFile
    *
    * @author 
    * @description deleteFile
    * @time 2022/8/31 15:57
    * @param tFileInfo
    * @return int
    */
    int deleteFile(TFileInfo tFileInfo);


    /**
     * 查询
     * @param id
     * @return
     */
    TFileInfo selectByPrimaryKey(String id);
}
